home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / utility / tdel257.zip / TDEL.FAQ < prev   
Text File  |  1996-09-28  |  20KB  |  424 lines

  1.   ▄▄▄▄▄▄▄▄▄▄▄▄▄
  2.  ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▀
  3. ▐ █████████████ ▌ ███████████▄▄ ███████████▄▄ ███▄▄
  4.  ▄▀▀▀█▀▀▀▀▀█▀▀▀▄  █████████████ █████████████ █████
  5.   ▀▀▐ █████ ▌▀▀     ▄▄▄▄   ████ ▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄▄
  6.     ▐ █████ ▌       ████   ████ █████▀▀▀▀▀    █████                 ∙
  7.     ▐ █████ ▌     █████████████ ███████████▄▄ ███████████▄▄         |
  8.     ▐ █████ ▌     █████████████ █████████████ █████████████         │
  9.      ▄▀▀▀▀▀▄                                                   ∙--──┼─---∙
  10.       ▀▀▀▀▀               ███████████▄▄ ███████████▄▄ ███████████▄▄ │
  11.                           █████████████ █████████████ █████████████ |
  12.                           ▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄▄▄▄▄█████ ▄▄▄▄▄    ████ ∙
  13.                           █████▀▀▀▀▀    █████▀▀▀█████ █████   ▄████
  14.                           █████         █████   █████ █████████████▄
  15.  Last update: 28 Sep 1996 █████         █████   █████ ██████████████
  16.                                                                 ▀▀▀▀
  17.     █▀▀▀ █▀▀█ █▀▀▀ █▀▀█ █  █ █▀▀▀ █▀█ █ ▀▀█▀▀     █▀▀█ █▀▀▀ █ █▀ █▀▀▀ ▀█▀▀▄
  18.     █▀▀  █▀█▀ █▀   █ ▄█ █  █ █▀   █ █ █   █       █▀▀█ ▀▀▀█ █▀▀█ █▀    █  █
  19.     ▀    ▀ ▀▀ ▀▀▀▀ ▀▀▀█ ▀▀▀▀ ▀▀▀▀ ▀ ▀▀▀   ▀       ▀  ▀ ▀▀▀▀ ▀  ▀ ▀▀▀▀ ▀▀▀▀
  20.                 █▀▀█ █  █ █▀▀▀ █▀▀▀ ▀▀█▀▀ ▀█▀ █▀▀█ █▀█ █ █▀▀▀
  21.                 █ ▄█ █  █ █▀   ▀▀▀█   █    █  █  █ █ █ █ ▀▀▀█
  22.                 ▀▀▀█ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀   ▀   ▀▀▀ ▀▀▀▀ ▀ ▀▀▀ ▀▀▀▀
  23.  
  24.  
  25.  General Questions
  26. ─═════════════════─
  27.  
  28. Q: Why should I use TDel instead of the original DEL command?
  29. Q: I'm using 4DOS. Its DEL command is quite satisfactory. What do I need TDel
  30.    for?
  31. Q: When I delete a file, the "Space freed by TDel" is almost always greater
  32.    than the deleted file's size. Why is that?
  33. Q: Some anti-viruses report TDel is infected by an unknown virus, but they
  34.    cannot remove it. Is it really infected? What should I do?
  35. Q: I like your TDel utility, and I want to register. How much does it cost?
  36.  
  37.  
  38.  Installation Questions
  39. ─══════════════════════─
  40.  
  41. Q: What should I do in order to install/uninstall TDel?
  42. Q: Why does TDel create a file called COMMAND.DEL when installing itself? Can
  43.    I delete this file?
  44. Q: I'm using a DOS version which is unknown to TDel. Won't I be able to install
  45.    it? :-(
  46. Q: What is the TDEL.DAT file? TDel runs normally without it, so what do I need
  47.    it for?
  48. Q: I want to try something with the original DEL command. Do I have to restore
  49.    it first?
  50. Q: After installing TDel, my anti-virus reported that my COMMAND.COM file has
  51.    been altered. Why is that, and what should I do?
  52. Q: I have installed TDel from DOS. When I run windows, and open a DOS window,
  53.    the original DEL command is run instead of TDel. Why is that?
  54. Q: I'm using Windows 95. I installed TDel from a DOS window. Sometimes I
  55.    restore my old DOS version (6.22) by pressing F4 when booting. But then
  56.    the original DEL command is run instead of TDel. How do I fix it?
  57.  
  58.  
  59.  Options Questions
  60. ─═════════════════─
  61.  
  62. Q: How can I set some options as defaults?
  63. Q: How can I override default options?
  64. Q: What is that "+" thing you're talking about in the help screens?
  65. Q: What is the purpose of the /TEST switch?
  66. Q: How can I protect specific files/directories from being deleted by mistake?
  67.  
  68.  
  69.  Tips & Tricks using TDel
  70. ─════════════════════════─
  71.  
  72. Q: How to automatically delete backup, temporary and unwanted files.
  73. Q: How to easily create complicated script files.
  74. Q: Little tip with the "/A:" (attribute filter) switch.
  75. Q: Some shortcuts.
  76.  
  77.  
  78.  Contact and Updates
  79. ─═══════════════════─
  80.  
  81. Q: How to contact me?
  82. Q: How to obtain the newest versions of the T-Utils products?
  83. Q: How to obtain the newest TDEL.FAQ file?
  84.  
  85.  Acknowledgements
  86. ─════════════════─
  87.  
  88. The persons who supported and tested TDel and the T-Utils products.
  89.  
  90.       ∙ - ---────═─═══─══════════════════════════════════─═══─═───---- - ∙
  91.  
  92.  General Questions
  93. ─═════════════════─
  94.  
  95. Q: Why should I use TDel instead of the original DEL command?
  96.  
  97. A: I will answer this by two parts:
  98.    - If you are a novice DOS user, you'll like the simplicity of TDel. You will
  99.      find it 100% compatible with the original DEL command. In addition, TDel
  100.      will show you the files it deletes, in a colorful and comprehensive way,
  101.      so you would not have to wonder "hmmm, I hope it deleted the right files"
  102.      each time... Moreover, you will find some basic switches very useful, such
  103.      as /S (delete with sub-directories), and more.
  104.    - If you are an experienced DOS user, you will find in TDel all the switches
  105.      and parameters you have never found on the original DEL command, and could
  106.      have been so useful and helpful. Some examples:
  107.      - You can Protect selected files and directories from being deleted by
  108.        mistake.
  109.      - You can use the "/NO:" parameter as a command-line filename filter.
  110.      - You can select the file attributes to delete.
  111.      - You can use the "/TEST" switch to test complicated command-line switches
  112.        and parameters (eg: play "what-if").
  113.      - Script files are supported for the deletion and the protection process.
  114.  
  115.                       ∙ - ---────═─═════════─═───---- - ∙
  116.  
  117. Q: I'm using 4DOS. Its DEL command is quite satisfactory. What do I need TDel
  118.    for?
  119.  
  120. A: If you're familiar with all the 4DOS DEL's swithes and parameters, you will
  121.    enjoy TDel even more, since you will find all these options in TDel. In
  122.    addition, TDel includes more useful options, like the ability to protect
  123.    sensitive files from being deleted by mistake, wipe-files option, percentage
  124.    and bar-graph progress indicator, colors, and more.
  125.  
  126.                       ∙ - ---────═─═════════─═───---- - ∙
  127.  
  128. Q: When I delete a file, the "Space freed by TDel" is almost always greater
  129.    than the deleted file's size. Why is that?
  130.  
  131. A: Every disk is divided to clusters (or allocation-units). Their size tends to
  132.    differ from one disk to another (run ChkDsk in order to see your clusters
  133.    size). Any file which is smaller than the cluster size will occupy the same
  134.    amount of space as your cluster size. For instance, if your cluster size is
  135.    4KB, even a one-byte size file will occupy 4KB on your disk. Obviously, when
  136.    you delete this file, 4KB will be freed.
  137.  
  138.                       ∙ - ---────═─═════════─═───---- - ∙
  139.  
  140. Q: Some anti-viruses report TDel is infected by an unknown virus, but they
  141.    cannot remove it. Is it really infected? What should I do?
  142.  
  143. A: It is most probably that TDel in NOT infected by a virus. This problem was
  144.    common with versions 2.56 and older. If you're using one of these versions,
  145.    you should upgrade to a newer one. Otherwise, please contact me!
  146.  
  147.                       ∙ - ---────═─═════════─═───---- - ∙
  148.  
  149. Q: I like your TDel utility, and I want to register. How much does it cost?
  150.  
  151. A: _*~ NOTHING! ~*_  All the T-Utils products, including TDel, are FREEWARES!
  152.    That means you do not have to register them. You may use and distribute
  153.    them freely, as long as you do not make any modification whatsoever in the
  154.    original package.
  155.  
  156.       ∙ - ---────═─═══─══════════════════════════════════─═══─═───---- - ∙
  157.  
  158.  Installation Questions
  159. ─══════════════════════─
  160.  
  161. Q: What should I do in order to install/uninstall TDel?
  162.  
  163. A: Run "TDel /Install". If it's the first time you are installing TDel, read
  164.    the instructions carefully.
  165.    Otherwise, a menu will appear. If you want to uninstall TDel, select the
  166.    "Restore the original DEL command" option. If you want to upgrade to a newer
  167.    version, select the "Upgrade" option.
  168.  
  169.                       ∙ - ---────═─═════════─═───---- - ∙
  170.  
  171. Q: Why does TDel create a file called COMMAND.DEL when installing itself? Can
  172.    I delete this file?
  173.  
  174. A: The file COMMAND.DEL (or 4DOS.DEL) is a backup of your original COMMAND.COM
  175.    before it was modified by TDel's installation. You do NOT need this file,
  176.    and can delete it freely. TDel does NOT need this file in order to uninstall
  177.    itself.
  178.  
  179.                       ∙ - ---────═─═════════─═───---- - ∙
  180.  
  181. Q: I'm using a DOS version which is unknown to TDel. Won't I be able to install
  182.    it? :-(
  183.  
  184. A: Of course you will! TDel can recognize almost all the common operating
  185.    systems. If you encounter a system which is unknown to TDel, contact me, and
  186.    I'll send you a tiny file, called TDEL.DAT, which is updated as needed, and
  187.    contains information about your system and others.
  188.  
  189.                       ∙ - ---────═─═════════─═───---- - ∙
  190.  
  191. Q: What is the TDEL.DAT file? TDel runs normally without it, so what do I need
  192.    it for?
  193.  
  194. A: The TDEL.DAT file in needed only when installing TDel on a system which TDel
  195.    does not recognize. This file contains information about your system, and
  196.    that way TDel can be installed and uninstalled. This file is not needed for
  197.    daily use, so you can delete it. However, remember that if you needed it for
  198.    the installation, you'll also need it for the uninstallation.
  199.  
  200.                       ∙ - ---────═─═════════─═───---- - ∙
  201.  
  202. Q: I want to try something with the original DEL command. Do I have to restore
  203.    it first?
  204.  
  205. A: Absolutely not! Use the ERASE command - it works exactly like DEL. But why
  206.    would you like to try something with the original DEL command anyway?
  207.  
  208.                       ∙ - ---────═─═════════─═───---- - ∙
  209.  
  210. Q: After installing TDel, my anti-virus reported that my COMMAND.COM file has
  211.    been altered. Why is that, and what should I do?
  212.  
  213. A: When installing itself, TDel modifies your COMMAND.COM file. You should tell
  214.    your anti-virus to update its database. This will also happen when
  215.    uninstalling TDel.
  216.  
  217.                       ∙ - ---────═─═════════─═───---- - ∙
  218.  
  219. Q: I have installed TDel from DOS. When I run windows, and open a DOS window,
  220.    the original DEL command is run instead of TDel. Why is that?
  221.  
  222. A: This is because you are running a different COMMAND.COM for your DOS window
  223.    than the one which is specified in the COMSPEC environment-table variable.
  224.    Here is how to fix it:
  225.    - At the DOS prompt, type "SET <Enter>".
  226.    - Remember the full path and file name which is shown beside the "COMSPEC="
  227.      variable.
  228.    - Run Windows.
  229.    - Single-click on your DOS window's icon.
  230.    - Press <ALT><Enter> (properties).
  231.    - Watch the "COMMAND LINE" file name. If it ends with ".PIF":
  232.      - Press the "CANCEL" button.
  233.      - Run the "PIF Editor".
  234.      - File|Open|[pif_file] (where [pif_file] is the file shown in
  235.        properties|command-line).
  236.    - Write the file name shown in the COMSPEC variable in the "command-line" or
  237.      in the "program file name".
  238.  
  239.                       ∙ - ---────═─═════════─═───---- - ∙
  240.  
  241. Q: I'm using Windows 95. I installed TDel from a DOS window. Sometimes I
  242.    restore my old DOS version (6.22) by pressing F4 when booting. But then
  243.    the original DEL command is run instead of TDel. How do I fix it?
  244.  
  245. A: You have to /INSTALL TDel again under your old DOS version.
  246.  
  247.       ∙ - ---────═─═══─══════════════════════════════════─═══─═───---- - ∙
  248.  
  249.  Options Questions
  250. ─═════════════════─
  251.  
  252. Q: How can I set some options as defaults?
  253.  
  254. A: It's very simple. Just add the line "SET TDEL=[options]" to your
  255.    AUTOEXEC.BAT file, where "[options]" are the switches and/or parameters you
  256.    would like to set as default. The order and the case of [options] are not
  257.    important; spaces can be omitted. Few examples:
  258.    - SET TDEL=/D+ --> TDel will not ask you for permission to delete empty
  259.      directories, and will delete them automatically.
  260.    - SET TDEL=/A:a --> Delete only archive files (not hidden, read-only or
  261.      system files - defaults in the original DEL command).
  262.    - SET TDEL=/CA /P --> Confirm deletion of ALL files in directory, and pause
  263.      each full screen.
  264.    - More examples in on-line help pages.
  265.    Note: The default options are overridden by the command-line options when
  266.    conflicting. (see also: "How can I override default options").
  267.  
  268.                       ∙ - ---────═─═════════─═───---- - ∙
  269.  
  270. Q: How can I override default options?
  271.  
  272. A: Easily. The rule is that command-line options override defaulted options
  273.    when conflicting. Let's take two examples:
  274.    - By default, TDel deletes files with ALL the attributes (including hidden,
  275.      read-only and system files). If you wish to override this option, use the
  276.      "/A:" switch in the command-line: "TDel c:\util /A:ah". (This will delete
  277.      only files with archive or hidden attribute active, and will disregard
  278.      read-only and system files).
  279.    - Let's say you defaulted the "/D+" parameter (automatically delete empty
  280.      directories), but you encountered an empty directory which you do not want
  281.      do remove, delete like that: "TDel . /D-". (The "/D-" switch is
  282.      conflicting with the "/D+" switch, and overrides it).
  283.  
  284.                       ∙ - ---────═─═════════─═───---- - ∙
  285.  
  286. Q: What is that "+" thing you're talking about in the help screens?
  287.  
  288. A: The "+" parameter is similar to the "/S" switch. However, the "/S" will
  289.    affect ALL the selected files and directories, and the "+" will only affect
  290.    the file or directory name it is attached to. Some examples:
  291.    - "TDel c:\games /s" is similar to "TDel c:\games+" - both will delete the
  292.      GAMES directory with all its sub-directories.
  293.    - "TDel c:\games c:\util /s" will delete the GAMES directory and the UTIL
  294.      directory with all their sub-directories. However:
  295.    - "TDel c:\games+ c:\util" will delete the GAMES directory with all its
  296.      sub-directories, and the all the files in the UTIL directory (but not its
  297.      sub-directories).
  298.    - "TDel .tmp c:\.bak+" will delete all the *.TMP file in the current
  299.      directory, and all the *.BAK files in all drive C:.
  300.  
  301.                       ∙ - ---────═─═════════─═───---- - ∙
  302.  
  303. Q: What is the purpose of the /TEST switch?
  304.  
  305. A: The /TEST switch will allow you to test complicated (and maybe dangerous)
  306.    command-line options. If you are unsure about a specific option, you can try
  307.    to see what will be the consequences by adding the /TEST switch to the
  308.    command-line. No files nor directories will be actually deleted if this
  309.    switch is activated.
  310.  
  311.                       ∙ - ---────═─═════════─═───---- - ∙
  312.  
  313. Q: How can I protect specific files/directories from being deleted by mistake?
  314.  
  315. A: - If you want to protect a single file or some files with common letters on
  316.      their names (like *.EXE), or a single directory, add the following line to
  317.      your AUTOEXEC.BAT file: "SET TDEL=/NO:[filename]", where "[filename]" is
  318.      the name of the file(s) or directory you want to protect.
  319.    - If you want to protect more than one file or directory, you can use the
  320.      "/NO:" switch many times: "SET TDEL=/NO:c:\dos /NO:c:\config.sys /NO:...".
  321.      However, this is an unefficient way. You may prefer to use a script file:
  322.    - A script file is a text-file, which contains the names of the files and
  323.      the directories you want to protect (each name in a new line). After you
  324.      have created this file, add the following line to your AUTOEXEC.BAT file:
  325.      "SET TDEL=/NO:@[scriptfile]", where "[scriptfile]" is the full path and
  326.      name of the script file. For example: "SET TDEL=/NO:@c:\dos\del.not" (do
  327.      not forget the "@" before the script-file name).
  328.      (See also: "Tips & Tricks").
  329.    * Attention: If you want to protect more than one file, do not forget to add
  330.      the "/NO:" switch before each one: "TDel . /NO:.exe /NO:b*.*".
  331.    If for any reason you would like to delete protected files, use the "/YES"
  332.    switch.
  333.  
  334.       ∙ - ---────═─═══─══════════════════════════════════─═══─═───---- - ∙
  335.  
  336.  Tips & Tricks using TDel
  337. ─════════════════════════─
  338.  
  339. Q: How to automatically delete backup, temporary and unwanted files.
  340.  
  341. A: One of the advantages of TDel is that it reads the TDEL environment-table
  342.    variable exactly as a command-line. That way, you can include file and
  343.    directory names in the TDEL variable, which will be automatically deleted
  344.    each time TDel is run. Here is an example of a line you may want to include
  345.    in your AUTOEXEC.BAT file: "SET TDEL=.bak .tmp .~??". Other options can be
  346.    also added to this line ("SET TDEL=.bak/ca/d+").
  347.  
  348.                       ∙ - ---────═─═════════─═───---- - ∙
  349.  
  350. Q: How to easily create complicated script files.
  351.  
  352. A: You can use the MS-DOS DIR command with the /B (bare format) option and with
  353.    the file redirection simbol: "DIR /b > script.txt". This will create the
  354.    file SCRIPT.TXT which includes all the files in the current directory.
  355.    Another example is "DIR *.com /b > comfiles.scr", which will create the file
  356.    COMFILES.SCR which includes all the *.COM files in the current directory.
  357.    These files are pure text-files, and may be freely edited and used as TDel
  358.    script files.
  359.  
  360.                       ∙ - ---────═─═════════─═───---- - ∙
  361.  
  362. Q: Little tip with the "/A:" (attribute filter) switch.
  363.  
  364. A: By default, TDel deletes files with all the attributes ("/A:ashr").
  365.    Therefore, you may want to include the "/A:a" switch in the TDEL
  366.    environment-table variable (which will delete only "normal" files, like the
  367.    original DEL command). If afterwards you would like to delete a file with
  368.    special attribute(s), there is no need to identify it - just add the "/A"
  369.    switch to the command-line. (Note: "/A" is equivalent to "/A:ashr").
  370.  
  371.                       ∙ - ---────═─═════════─═───---- - ∙
  372.  
  373. Q: Some shortcuts.
  374.  
  375. A: - As you have probably noticed, the asterisk ("*") signal is sometimes
  376.      omitted. This is not a mistake, but a shortcut. The asterisk can be
  377.      omitted when all the files you wish to delete have the same extention:
  378.      ".EXE" = "*.EXE" / "." = "*.*" / BUT: "*." remains "*.".
  379.    - The spaces between the switches and the parameters are not obligatory, and
  380.      can be omitted either: "TDel \.bak/c/s" = "TDel /C \*.bak /S".
  381.    - The file and directory names, the switches and the parameters order and
  382.      case are not important: "/d+/s" = "/S/D+".
  383.  
  384.       ∙ - ---────═─═══─══════════════════════════════════─═══─═───---- - ∙
  385.  
  386.  Contact and Updates
  387. ─═══════════════════─
  388.  
  389. Q: How to contact me?
  390.  
  391. A: The easiest way to contact me is through the InterNet. The T-Utils home-page
  392.    address is: http://www.geocities.com/SiliconValley/Park/3221. My email
  393.    address is: TUtils@poboxes.com. I can also be contacted through:
  394.    FidoNet: 2:405/420.5, UltiNet: 97:200/520.5 and PowerNet: 23:600/520.5.
  395.  
  396.                       ∙ - ---────═─═════════─═───---- - ∙
  397.  
  398. Q: How to obtain the newest versions of the T-Utils products?
  399.  
  400. A: The newest version of the T-Utils products are available on the T-Utils
  401.    home-page, or by contacting me.
  402.  
  403.                       ∙ - ---────═─═════════─═───---- - ∙
  404.  
  405. Q: How to obtain the newest TDEL.FAQ file?
  406.  
  407. A: InterNet: http://www.geocities.com/SiliconValley/Park/3221/tdel_faq.zip, or
  408.    by contacting me.
  409.  
  410.       ∙ - ---────═─═══─══════════════════════════════════─═══─═───---- - ∙
  411.  
  412.  Acknowledgements
  413. ─════════════════─
  414.  
  415. I would like to thank the following persons for supporting and/or testing TDel
  416. and the T-Utils products (sorted alphabetically):
  417.  
  418. Avishay Golan, Eddo Kim, Guy Nesher, Ofir Harzaz, Ron Tamerin, Zarko Bulat.
  419.  
  420. Thank you!
  421.  
  422.                       ∙ - ---────═─═════════─═───---- - ∙
  423.       ∙ - ---────═─═══─══════════════════════════════════─═══─═───---- - ∙
  424.